package com.blueheart.Test.list;

public class TestLinkedList {

    public static void main(String[] args) {
        LinkedList<Integer> integerLinkedList = new LinkedList<>();
        integerLinkedList.add(1);
        integerLinkedList.add(2);
        integerLinkedList.add(3);
        System.out.println(integerLinkedList);
        integerLinkedList.set(0,100);
        System.out.println(integerLinkedList);
        integerLinkedList.remove(0);
        //integerLinkedList.clear();
        System.out.println(integerLinkedList);
        integerLinkedList.remove(1);
        //integerLinkedList.clear();
        System.out.println(integerLinkedList);
    }
}
